package com.qj.yantaishan.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.qj.yantaishan.common.annotation.Excel;
import com.qj.yantaishan.common.core.domain.BaseEntity;

/**
 * 店铺信息对象 shanglala_store_message
 * 
 * @author qihe
 * @date 2022-07-22
 */
public class StoreMessage
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 添加时间 */
    @Excel(name = "添加时间")
    private Long dateline;

    /** 店铺ID */
    @Excel(name = "店铺ID")
    private Long storeId;

    /** 信息标题 */
    @Excel(name = "信息标题")
    private String title;

    /** 信息内容 */
    @Excel(name = "信息内容")
    private String content;

    /** 链接 */
    @Excel(name = "链接")
    private String url;

    /** 消息类型 0 普通消息 1 新订单语音提醒  */
    @Excel(name = "消息类型 0 普通消息 1 新订单语音提醒 ")
    private Integer type;

    /** 是否已读，1：是，0：否 */
    @Excel(name = "是否已读，1：是，0：否")
    private Integer isRead;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String tradeNo;

    /** 门店ID */
    @Excel(name = "门店ID")
    private Long physicalId;

    /** 审核商品的id */
    @Excel(name = "审核商品的id")
    private Long productId;

    /** 1 新订单 2 退款 3 审核 4 认证 5 过期 */
    @Excel(name = "1 新订单 2 退款 3 审核 4 认证 5 过期")
    private Integer msgType;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDateline(Long dateline) 
    {
        this.dateline = dateline;
    }

    public Long getDateline() 
    {
        return dateline;
    }
    public void setStoreId(Long storeId) 
    {
        this.storeId = storeId;
    }

    public Long getStoreId() 
    {
        return storeId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setIsRead(Integer isRead) 
    {
        this.isRead = isRead;
    }

    public Integer getIsRead() 
    {
        return isRead;
    }
    public void setTradeNo(String tradeNo) 
    {
        this.tradeNo = tradeNo;
    }

    public String getTradeNo() 
    {
        return tradeNo;
    }
    public void setPhysicalId(Long physicalId) 
    {
        this.physicalId = physicalId;
    }

    public Long getPhysicalId() 
    {
        return physicalId;
    }
    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setMsgType(Integer msgType) 
    {
        this.msgType = msgType;
    }

    public Integer getMsgType() 
    {
        return msgType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("dateline", getDateline())
            .append("storeId", getStoreId())
            .append("title", getTitle())
            .append("content", getContent())
            .append("url", getUrl())
            .append("type", getType())
            .append("isRead", getIsRead())
            .append("tradeNo", getTradeNo())
            .append("physicalId", getPhysicalId())
            .append("productId", getProductId())
            .append("msgType", getMsgType())
            .toString();
    }
}
